import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/education_summary_test_rank_entity.g.dart';


@JsonSerializable()
class EducationSummaryTestRankEntity {

	EducationSummaryTestRankEntity();

	factory EducationSummaryTestRankEntity.fromJson(Map<String, dynamic> json) => $EducationSummaryTestRankEntityFromJson(json);
	late int averageScore = 0;
	late int classHour = 0;
	late String companyCode = '';
	late String createBy = '';
	late String createById = '';
	late String createDate = '';
	late String deleted = '';
	late String departmentName = '';
	late int finishHours = 0;
	late String id = '';
	late String planId = '';
	late int qualifiedTextbookCount = 0;
	late int score = 0;
	late int textbookCount = 0;
	late int trainingHours = 0;
	late String updateBy = '';
	late String updateById = '';
	late String updateDate = '';
	late String userDepartmentId = '';
	late String userDepartmentName = '';
	late String userId = '';
	late String userName = '';

	Map<String, dynamic> toJson() => $EducationSummaryTestRankEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
